#cmake_minimum_required(VERSION 3.13)
project(cam_client)
set(CMAKE_CXX_STANDARD 14)

find_package( OpenCV 2 REQUIRED )
message(STATUS "test")
if(Opencv_FOUND)
    message(STATUS "=======The Opecv lib is found!=======")
endif()


include_directories(
        ${OpenCV_INCLUDE_DIRS}
        ./include
)
add_definitions("-Wall -g")
#add_definitions( -D MOCK)
#add_definitions( -D TICTOC)
aux_source_directory(./src SOURCE_FILES)
message(STATUS ${SOURCE_FILES} )
add_executable(cam_client  main.cpp  ${SOURCE_FILES} )

target_link_libraries(cam_client ${OpenCV_LIBS})